package com.example.luyao.faceserver;

public class ConstentUtil {
    public static final String SUCCESS = "";
    public static final int SUCCESS_CODE = 0;
    public static final String SUCCESS_DETAIL = "";

    public static final String UNKNOW_ERROR = "unknow_error";
    public static final int UNKNOW_ERROR_CODE = 999;
    public static final String UNKNOW_ERROR_DETAIL = "未知错误";

    public static final String URI_NOT_FOUND = "uri_not_found";
    public static final int URI_NOT_FOUND_CODE = 1000;
    public static final String URI_NOT_FOUND_DETAIL = "资源不存在";

    public static final String MISSING_ARGS = "missing_args";
    public static final int MISSING_ARGS_CODE = 1001;
    public static final String MISSING_ARGS_DETAIL = "参数错误";

    public static final String REGISTRATION_FAILED = "registration_failed";
    public static final int REGISTRATION_FAILED_CODE = 1004;
    public static final String REGISTRATION_FAILED_DETAIL = "注册失败";

    public static final String RECOGNITION_FAILED = "recognition_failed";
    public static final int RECOGNITION_FAILED_CODE = 1005;
    public static final String RECOGNITION_FAILED_DETAIL = "识别失败";
}
